/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Day09_SlideExamples;

/**
 *
 * @author Mark
 */
public class BoxExample
{

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args)
    {
        Box<Widget> box1 = new Box<Widget>();
        Box<Gadget> box2 = new Box<Gadget>();
        
        Gadget g = new Gadget("A Gadget Name");
            
        System.out.println(box2.process(g).getName().toString());

    }
}
